import {GameMap} from '/static/Javascript/GameMap/base.js';
import {Player} from '/static/Javascript/Player/base.js';


export class KOF {
    constructor(id) {
        //在html中选择id为id的元素
        this.$kof = $('#' + id);

        this.game_map=new GameMap(this);
        this.players=[
            new Player(this, {
                id: 0,
                x: 200,
                y: 0,
                width: 120,
                height: 200,
                color: 'red'
            }),
            new Player(this, {
                id: 1,
                x: 900,
                y: 0,
                width: 120,
                height: 200,
                color: 'blue'
            })
        ];
    }
}